import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入路由守卫
import "./permission.js"

//引入 element ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/fonts/iconfont.css'
Vue.use(ElementUI);

//引入 echarts ui
import * as echarts from 'echarts';
//将 echarts挂载到 vue
Vue.prototype.$echarts = echarts;

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')